Optimal. Leaf size=255 \[ \frac{\left (b-\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) \left (d+e x^2\right )^{q+1} \, _2F_1\left (1,q+1;q+2;\frac{2 c \left (e x^2+d\right )}{2 c d-b e+\sqrt{b^2-4 a c} e}\right )}{2 c (q+1) \left (2 c d-e \left (b-\sqrt{b^2-4 a c}\right )\right )}+\frac{\left (\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}+b\right ) \left (d+e x^2\right )^{q+1} \, _2F_1\left (1,q+1;q+2;\frac{2 c \left (e x^2+d\right )}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{2 c (q+1) \left (2 c d-e \left (\sqrt{b^2-4 a c}+b\right )\right )}+\frac{\left (d+e x^2\right )^{q+1}}{2 c e (q+1)} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 1.16036, antiderivative size = 255, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 27, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.111 \[ \frac{\left (b-\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}\right ) \left (d+e x^2\right )^{q+1} \, _2F_1\left (1,q+1;q+2;\frac{2 c \left (e x^2+d\right )}{2 c d-b e+\sqrt{b^2-4 a c} e}\right )}{2 c (q+1) \left (2 c d-e \left (b-\sqrt{b^2-4 a c}\right )\right )}+\frac{\left (\frac{b^2-2 a c}{\sqrt{b^2-4 a c}}+b\right ) \left (d+e x^2\right )^{q+1} \, _2F_1\left (1,q+1;q+2;\frac{2 c \left (e x^2+d\right )}{2 c d-\left (b+\sqrt{b^2-4 a c}\right ) e}\right )}{2 c (q+1) \left (2 c d-e \left (\sqrt{b^2-4 a c}+b\right )\right )}+\frac{\left (d+e x^2\right )^{q+1}}{2 c e (q+1)} \]
Antiderivative was successfully verified.
[In] Int[(x^5*(d + e*x^2)^q)/(a + b*x^2 + c*x^4),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 93.4113, size = 241, normalized size = 0.95 \[ \frac{\left (d + e x^{2}\right )^{q + 1} \left (- 2 a c + b^{2} + b \sqrt{- 4 a c + b^{2}}\right ){{}_{2}F_{1}\left (\begin{matrix} 1, q + 1 \\ q + 2 \end{matrix}\middle |{\frac{c \left (- 2 d - 2 e x^{2}\right )}{b e - 2 c d + e \sqrt{- 4 a c + b^{2}}}} \right )}}{2 c \left (q + 1\right ) \sqrt{- 4 a c + b^{2}} \left (2 c d - e \left (b + \sqrt{- 4 a c + b^{2}}\right )\right )} - \frac{\left (d + e x^{2}\right )^{q + 1} \left (- 2 a c + b^{2} - b \sqrt{- 4 a c + b^{2}}\right ){{}_{2}F_{1}\left (\begin{matrix} 1, q + 1 \\ q + 2 \end{matrix}\middle |{\frac{c \left (- 2 d - 2 e x^{2}\right )}{b e - 2 c d - e \sqrt{- 4 a c + b^{2}}}} \right )}}{2 c \left (q + 1\right ) \sqrt{- 4 a c + b^{2}} \left (2 c d - e \left (b - \sqrt{- 4 a c + b^{2}}\right )\right )} + \frac{\left (d + e x^{2}\right )^{q + 1}}{2 c e \left (q + 1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**5*(e*x**2+d)**q/(c*x**4+b*x**2+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 1.8908, size = 362, normalized size = 1.42 \[ \frac{2^{-q-2} \left (d+e x^2\right )^q \left (-\left (b \sqrt{e^2 \left (b^2-4 a c\right )}+2 a c e+b^2 (-e)\right ) \left (\frac{c \left (d+e x^2\right )}{-\sqrt{e^2 \left (b^2-4 a c\right )}+b e+2 c e x^2}\right )^{-q} \, _2F_1\left (-q,-q;1-q;\frac{2 c d-b e+\sqrt{\left (b^2-4 a c\right ) e^2}}{-2 c e x^2-b e+\sqrt{\left (b^2-4 a c\right ) e^2}}\right )-\left (b \sqrt{e^2 \left (b^2-4 a c\right )}-2 a c e+b^2 e\right ) \left (\frac{c \left (d+e x^2\right )}{\sqrt{e^2 \left (b^2-4 a c\right )}+b e+2 c e x^2}\right )^{-q} \, _2F_1\left (-q,-q;1-q;\frac{-2 c d+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}{2 c e x^2+b e+\sqrt{\left (b^2-4 a c\right ) e^2}}\right )+\frac{c 2^{q+1} q \left (d+e x^2\right ) \sqrt{e^2 \left (b^2-4 a c\right )}}{e (q+1)}\right )}{c^2 q \sqrt{e^2 \left (b^2-4 a c\right )}} \]
Antiderivative was successfully verified.
[In] Integrate[(x^5*(d + e*x^2)^q)/(a + b*x^2 + c*x^4),x]
[Out]
_______________________________________________________________________________________
Maple [F] time = 0.083, size = 0, normalized size = 0. \[ \int{\frac{{x}^{5} \left ( e{x}^{2}+d \right ) ^{q}}{c{x}^{4}+b{x}^{2}+a}}\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^5*(e*x^2+d)^q/(c*x^4+b*x^2+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (e x^{2} + d\right )}^{q} x^{5}}{c x^{4} + b x^{2} + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x^2 + d)^q*x^5/(c*x^4 + b*x^2 + a),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \[{\rm integral}\left (\frac{{\left (e x^{2} + d\right )}^{q} x^{5}}{c x^{4} + b x^{2} + a}, x\right ) \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x^2 + d)^q*x^5/(c*x^4 + b*x^2 + a),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**5*(e*x**2+d)**q/(c*x**4+b*x**2+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (e x^{2} + d\right )}^{q} x^{5}}{c x^{4} + b x^{2} + a}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((e*x^2 + d)^q*x^5/(c*x^4 + b*x^2 + a),x, algorithm="giac")
[Out]